home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
Dev
/
Amiga-E
/
E_v3.2a
/
Src
/
Guide
/
static.e
< prev
next >
Wrap
Text File
|
1994-12-13
|
314b
|
13 lines
PROC main()
DEF i, a[10]:ARRAY OF LONG, p:PTR TO LONG
FOR i:=0 TO 9
a[i]:=[1, i, i*i]
/* This assignment is probably not what you want! */
ENDFOR
FOR i:=0 TO 9
p:=a[i]
WriteF('a[\d] is an array at address \d\n', i, p)
WriteF(' and the second element is \d\n', p[1])
ENDFOR
ENDPROC